export interface RegisterDTO {
    email: string,
    nickname: string,
    password: string,
    rePassword: string,
    verifyCode: string
}

export interface LoginDTO {
    email: string,
    password: string
}

export interface ResponseInterface {
    code: number,
    msg: string,
    data: any
}

export interface NoteInterface {
    noteId: string,
    uid: number,
    title: string,
    content: string,
    alertTime?: string | null,
    deleteTime?: string | null
}

export interface ProjectInterface {
    pId: string,
    owner: number,
    name: string,
    created: string
}

export interface PhaseInterface {
    pId: string,
    name: string,
    phaseId: string
}

export interface TaskInterface {
    pId: string,
    phaseId: string,
    taskId: string,
    name: string,
    description: string,
    beginTime: Date | string,
    endTime: Date | string,
    status: number,
    created: string,
    create_user: number
}

export interface UserInterface {
    uid?: string,
    nickname?: string,
    email?: string,
}

export interface ELOptions {
    key: number
    label: string
    disabled: boolean
}

export interface CalendarVO {
    id: string,
    type: string,
    title: string,
    start: Date,
}

